#!/usr/bin/python
sum_square = 0
square_sum = 0
for i in range(1,101):
	square = i**2
	sum_square = sum_square + square
	square_sum = square_sum + i
diff = (square_sum**2) - sum_square
print diff
